﻿// Copyright (c) 2014 Jonathan Magnan (http://jonathanmagnan.com/).
// All rights reserved (http://zzzproject.com/sqlbulkcopy-extensions/).
// Licensed under MIT License (MIT) (https://zsqlbulkcopy.codeplex.com/license/).
using System.Collections.Generic;
using System.Data;

namespace Z.Net.Extensions
{
    public class SqlBulkOperationSetting
    {
        /// <summary>The identity column.</summary>
        public string IdentityColumn;

        /// <summary>true if this object is SQL server azure.</summary>
        public bool IsSqlAzure;

        /// <summary>Type of the mapping column with database.</summary>
        public Dictionary<string, SqlDbType> MappingColumnWithDbType;

        /// <summary>List of primary keys.</summary>
        public List<string> PrimaryKeys;

        /// <summary>The table columns.</summary>
        public List<string> TableColumns;
    }
}